<?php

$SERVER   = "bdos.ufba.br";
$USERNAME = "egestoresusr";
$PASSWORD = "us458!";
$DATABASE = "egestoresdb";

function make_db_connection() {
    global $SERVER;
    global $USERNAME;
    global $PASSWORD;
    global $DATABASE;
    
	$connection = mysql_connect($SERVER, $USERNAME, $PASSWORD) or trigger_error(mysql_error());
	mysql_select_db($DATABASE) or trigger_error(mysql_error());
}
